#ifndef SERVER_H
#define SERVER_H

#include <QThread>
#include <QTcpServer>
#include <QTcpSocket>

class Server : public QThread
{
    Q_OBJECT
public:
    explicit Server(QObject *parent = 0);
    void run();
signals:

public slots:

private:
    QTcpServer server;
    QTcpSocket *socket;

};

#endif // SERVER_H
